<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 * Class VipFeeConfig
 *
 * @package App\Model
 * @mixin \Eloquent
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig query()
 * @property int $id 主键
 * @property string $name 名称
 * @property int $days 天数
 * @property int $type 类型（1钻石，2vip）
 * @property int $months 月份
 * @property float $money 金额
 * @property float $last_money 针对钻石会员最低金额
 * @property int $auto_charge 是否自动续费(0:否,1:是)
 * @property string $icon_path 图标地址
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 创建时间
 * @property string|null $deleted_at 删除时间
 * @property string $description 描述
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereAutoCharge($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereDays($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereDescription($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereIconPath($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereLastMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereMonths($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\VipFeeConfig whereUpdatedAt($value)
 */
class VipFeeConfig extends Model
{
    protected $table = 'vip_fee_config';

    protected $fillable = ['name', 'days', 'money', 'auto_charge', 'type'];

    protected $hidden = ['deleted_at'];
}
